How to change all Versioned Links to specific target baseline using DXL?

I would like to be able to change the Baseline attribute for all outlinks from a source module without having to do the process manually. Manually editing the Baseline attribute doesn't appear possible as the Edit button for editing the outlink attributes from "Edit Links..." is grayed out for me and I want to avoid deleting and recreating the links to the baseline I need. Instead I would like to know if some DXL code could be used to do this.

This code could either delete the previous outlinks (i.e. ModuleVersion "Current" or another BL) and then recreate the same outlinks to a specific new baseline (i.e. ModuleVersion BL "http://1.21"), or if the Baseline attribute could be modified directly that would be preferable.

The DXL code would probably be something similar to the below pseudo code:

for outLink in all (Object srcObject) -> (string linkModName) do { ... targetVersion(outLink) ... }

Thanks for any help.
SystemAdmin - Wed Feb 27 02:06:39 EST 2013

Re: How to change all Versioned Links to specific target baseline using DXL?
Mathias Mamsch - Wed Feb 27 11:48:46 EST 2013

You need to manually move the links, i.e. recreate a link to the baseline and on success delete the old link. So no easy way out here ;-) If you need help with the moving, just post again. Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS